adds Error.toJSON() to make errors stringifieble
npm install error-tojsonerror-tojson
============
Adds Error.toJSON(), so we can easily stringify the error, for example when sending them over websockets
````
// just do it before anything else
require('error-tojson');