workaround for tastypie bug