{% if (Object.prototype.toString.call(x) === "[object Object]") { %} {% for (var key in x) { %} {% } %}
{{ key }} {{ x[key] }}
{% } else { %} {{ x }} {% } %}