Use arrays to hold the full path org_unit values
Move ListSets and ListMetadataFormats to hashes