Remove debug information in TemplateJSON