fix job group lookup to be a dict instead of a dict of lists