Fix schema for OAI-PMH harvesting
Improve flattened_to_extras() docstring