More work transitioning functions from the old JSON-RPC code to the new code-generation engine

Conflicts:
	libraries/rpc/rpc_server.cpp