basic metadata extractor impl