Update json.py

Fixed config. AttributeError: 'module' object has no attribute 'version'