fixed an incompatibilty issue with json as in https://github.com/TwoApart/django-tastypie/commit/16c94c1eb356733ec520d9c29ba3742e48d3187b