Return a JSON response for DELETE requests.