json-rpc learning