Use JSON.sringify with pretty format to make sure we handle special characters