extend json-rpc2 for instance of