Your IP-Address is: {{ data.query.ip }}
Your requested format was:
{{format}}
{% if hostname %}
Hostname:
{{data.result.hostname}}
{% endif %}