Fixed incorrect import of json

Fixed json import in serializers.py. This version works correct with django 1.5
@easel 

+
fixed incorrect import of django.conf.urls.defaults (deprecated in django 1.6)