yup. `JSON.stringify(...)` should do the trick. if there's not already a `|json` filter in nunjucks, we should add one.