Reimplementation of django-tastypie-extendedmodelresource