Restful Web Servie to Generate Elasticsearch Templates from Indexes