undo send json on delete requests. Didn't work.