These two might look unrelated but have a close relationship.
One of the ways we could implement the export file is for it to be a CLI script. This is quite neat but brings along some potential problems - mainly with figuring out what exactly would such script modify. We'd need such information when analyzing the export file before import during the dry run phase.
On the other hand it is important to define the APIs using which the CLI will be able to interact with export file so that it can be easily modified before the actual import takes place.