Add type to Elastic search result