allow unicode keys in dicts in json_clean

non-ascii keys would raise UnicodeEncodeError in json_clean on Python 2