Removed view from context before rendering to json.
With Django 1.5.1 and tastypie 0.9.14, the tastypie_swagger.views.ResourceView object is in the context and can't be json serialized.