Added JSON-based IPC.