Updating the codebase to use JSON-RPC 2.0 standards