pub fn template_to_json(template: Template) -> PolicyToJsonAnswer
Return the JSON representation of a template.