UPCGMetadata::FlattenImpl

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