return dict mapping DimensionValue, str, and int keys to the indices of corresponding DimensionValue values.