fixed broken implementation of JSONRPC messages parsing between jsons