Existing implementation of Export API w.r.t ZIP file generation adds 1 .json file per entity. This makes ZIP file creation inefficient. The ZIP files are 75% larger in size than what could be possible with fewer .json file entries.
The implementation uses the new v2 API AtlasEntityWithExtInfo representation instead of AtlasEntity. This format combines an entity with related entities as one. E.g. hive_table will contain all the hive_columns that it is made up of. (See example section below.)
This results in significant reduction of generated JSON files. This impacts reduction in generated ZIP file.