the filter is called [`tojson`](http://flask.pocoo.org/docs/templating/#standard-filters)