JSON RPC 2.0 implementation. First pass.