Fix json-rpc dependency