DELETE endpoint returns empty json object