Fixed a bug in the JSONRPC implementation. Error data should be a property on the 'error' object.