The "result" field of JSON-RPC 2.0 responses was omitted if the result was nil, causing exceptions in web3.js.