{% for template in yaml_templates %}
  {% for dsp, obj in template.items() %}
    {{ dsp }}:
      process_all: {{ obj.process_all }}
      report_types: {% if obj.report_types %}
      {% for item in obj.report_types %}
        {{ item.report_type }}:
          report_type: {{ item.report_type }}
          versions: {{ item.versions }}
          {% if item.action %}
          action: {{ item.action }}
          {% endif %}
      {% endfor %}
  {% else %}{}{% endif %}
  {% endfor %}
{% endfor %}
