Need to call JSON.stringify() to convert a JS object to a JSON string before sending data up to the server.