convert {number =>letters} to {letter => number}