Metadata hash fields

@fabrice Thank you very much for clarifying and for including the example.