UPCGMetadata::Flatten

Unparents current metadata by flattening the attributes (values, entries, etc.)