{
  "d": {"a": 1, "b": 2}
}
---
{{ dict(d) }}
{{ dict(x=1, y=2) }}
{{ dict(d, c=3)}}
{% for _ in [1] %}{{ dict(loop, extra=2)|dictsort }}{% endfor %}