An attempt to fix #49 (generic metadata object, handle empty objects)