Metadata extractor