Update json.py

Fixing incompatibility with DjangoFullSerializers