PUT requests now return a JSON response on success