I have the following jinj2 code.
foo: {% if foos == [] -%}{{ foos }} {% else %} {%- for foo in foos %} - {%+ for k, v in foo.items() -%} {{ k }}: "{{ v }