[{% for coord in coordinates %}[{{coord.latitude}},{{coord.longitude}},{{coord.id}}]{% if not forloop.last %},{% endif %}{% endfor %}]