Support export/import of metadata with inheritance