Adapting to new RPC method style (everything is JSON); implemented a template fetch command