Can I import json data of n:n schema tables?

Please is it possible to import a json metadata of n:n schemas of organisation unit?

Suppose I want to create a json file for the orgunitgroupsetdimension_items schema and import it.

I wanted to group organisationUnit under a orgUnitGroups and fetch each organisationUnit at the lowest hierarchy level and their associated group. Say for instance each facility and their associated group.

Something like this*?