Remove reference to defaults module, which was removed in Django 1.6
Try to use Python's built-in json module.