{% raw %}
{% with element.json.data.HeadingTypes as "headings" %}
{% for item in headings.heading_texts %}
  <div class="heading heading__{{item.modifiers}}">
    <{{item.htmltag}}>{{ item.text }}</{{item.htmltag}}>
  </div>
{% endfor %}
{% endwith %}
{% endraw %}
