{% load jsonify %} { "frames_display": {{ frames_display|jsonify }}, "connections": {{ connections|jsonify }}, "frames_count": {{ frames_count|jsonify }}, "alternations": {{ alternations|jsonify }} }