YAMLTraits.h: replace DenseMap that used a bad implementation of DenseMapInfo