Fix response from PUT /template/:template_name