{% load helpers %}
{% if format == 'yaml' %}{{ data|render_yaml }}{% else %}{{ data|render_json }}{% endif %}