Add untested changes for robot server to send json rpc messages