An attempt to fix #49 (for a generic metadata object)