Fixes unicode dict kwargs on osx