JSON-RPC wrapper for Nucleus