Swap reversed key/values in getMetadata on iOS

getMetadata was returning a dict with the values as keys, and keys as values on iOS. Swapped.