<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _removeSingleMemberGroupReferences(kerning, leftGroups, rightGroups):
 """ Translate group names into glyph names in pairs if the group only contains one glyph. """

    new = {}
    for (left, right), value in kerning.items():
        left = leftGroups.get(left, left)
        right = rightGroups.get(right, right)
        new[left, right] = value
    return new