A communication module based on JSON-RPC