serialize index mapping response to valid JSON for consumption
Serialize index mapping response to valid JSON for consumption. Record attributes names can have spaces and current GET index mapping API response is not valid JSON for such cases.
Edited by Neelesh Thakur