For im- and export functionality you can use JSONata expression. JSONata is very powerful and explained in general at http://docs.jsonata.org/overview.html and you can try quite a lot here https://try.jsonata.org.
It gives you the possibility, to map your data to our infrastructure or vice versa in different data mapping profiles.