Simplify a needlessly composite dictionary key