I have a data mapper function which takes json with four levels of data and then map then to a different format
Input JSON format:
[{ "Invento