{% extends "baseapi.html" %}
{% block content %}{
{% for expedition in object_list %}{% if not forloop.last %}"{{expedition.year}}": 
    ["{{expedition.name}}","{{expedition.get_absolute_url}}"],{% endif %}{% if forloop.last %}"{{expedition.year}}": ["{{expedition.name}}","{{expedition.get_absolute_url}}"]{% endif %}
{% endfor %} }{% endblock %}