Add ability to export metadata in relocator