test: add missing JSON.stringify

The response object is JSON format.