Fixes DictUtils key cleaning function.