DocumentMetadata can be init from a list of values