Finish moving all JSON RPC functions to the new generated code engine