Using OrderedMap for template variables