Hybrid application framework that provides JSON-RPC based communication protocol