nodejs template rendering rpc service