{%- for field in fields -%} {{ field.name }}: {{ field.name }}{%- if not (loop.last) %}, {% endif %} {%- endfor -%}