updated to handle additional metadata structures
Merge branch 'master' of https://github.com/aaronhelton/undhl-import-export