Do not pass raw error object to browser
Do not pass raw error object to browser

This was not working at all, the message needs
to be serialized before we can pass it via ws to the client.

fixes #549

nporteschaikin/roots,Leeds-eBooks/roots,jescalan/roots,i8ramin/roots,jenius/roots,smashingboxes/roots