The 'sd_dump' utility should get you part of the way there:
http://substanced.readthedocs.io/en/latest/dump.html
The dumped data will include the UUIDs, including a 'references.yaml' file
which maps between "paths" and UUIDs.
Re loading: its docs say:
---------------------------- %< --------------------------------
.. note::
You'll note in the following the absence of docs on *loading* data.
This is intentional. The process of loading data into a new,
or semi-new, or newer-than-new site has many policy implications.
Too many to fit into a single loading script. Substance D considers
the particulars of loading data to be in the province of the
application developer.
---------------------------- %< --------------------------------
Tres.
--
===================================================================
Tres Seaver
+1 540-429-0999 tse...@palladion.com
Palladion Software "Excellence by Design"
http://palladion.com