Json-RPC implementation work in progress