JSON-RPC client with methods specifications