Fix applied to ensure double quotes are correctly escaped in the JSON.