pub fn jsonrpc_to_command( method: &str, params: Option<Value>, id: Option<Value>, ) -> Option<Value>
Map a JSON-RPC 2.0 method + params to an internal RPC command value.