Added custom json deserializer. Simplified RpcRequest, RpcResponse, RpcError