A whole lot of escaping of template variables so they pass through the Django templating to Jinga in the Salt setup