Escape double quotes in data because we have to store in json.