JSONRPC Calls

Functions to communicate with the server using JSONRPC