Add templates for json-api, notification and search-indexing, and improve frontdoor template