for both Token and Label: converting offset --> offsets to be a map keyed on OffsetType