Added simple JSON remote procedure call (RPC) interface to interact with overlay.