PYTHON-673 - Fix a json_util issue in python 3.x