The documentation should look like this:
"Control auto-escaping of variable output from within your templates."
{% autoescape true %}{{ myvar }}{% endautoescape %}
{% autoescape false %}{{ myvar }}{% endautoescape %}
Therefore, when autoescape true, it will contain the contents of the HTML-escape variable. I think this is the default value for Swig.
JSON-, ( autoescaping, HTML JSON). , safe:
var all_hotels = {{ hotels | safe | json }};
var all_restaurants = {{ restaurants | safe | json }};
...