Distributed applications with JSON-RPC