Fixing Content-Type for POST/PUT requests