processMetadata