We're in need of a simple interface where admins can see/modify and
set again the mappings for the indices.
Getting the mappings can be done through client.admin().cluster(). But
seems a bit convoluted to just get all the mappings in json format
through this way.
Can this be done easily? am I looking at the wrong place?