Accomadated change of dictionary keys