template: fix #application for all items (nil -> #ElasticSearch)
template: pretty-printed