added support for multiple values per metadata key