API delete
bug fix: tastypie will dump it to json, no need to dump it ourselves
API put
bug fix for the last commit: use validators

Note that tastypie only checks ModelResource.validator, while we are
using Resources.validator. So we need to do this ourselves