Move utility method to DescriptorUtils and make it more general
Never import object descriptors, for they may overwrite corresponding vals