Removing < and > from template.map values to generate valid xml.