Fixes DictUtils unicode key cleaning for osx versions.