JavaScript/Python Connector using json-rpc