Move jsonrpc_request to jsonrpc_funcs
Separate request related functions into a new file.