- 
Matthew Slipper authoredBoth the `Error` and `Result` fields on `RPCRes` had `omitempty` tags, so null results were being swallowed. We didn't catch this in integration tests because JavaScript tolerates missing keys. This is now fixed by using a custom JSON marshaler. Fixes #2049 437e853f