makes Error toJSON property writable

Makes Error.prototype.toJSON writable so that at least people can override it in their own libraries.

see: http://stackoverflow.com/questions/19966019/difference-between-method-and-property-on-an-object-in-node-js