Function getCollectionMetadataTimesAndValues