Adding Json and html formatting of search result.