refactor the dereferencing of the metainfo values