Hi,
I suggest the JSON mappings should be defined by fragments, and then assembled together:
Cheers,
Could be part of https://forum.mendix.com/link/space/integrations/ideas/2351