java: streamlining protocols
java: fixing JsonrpcClientJavaGenerator