Passing variables with single and double quotes in scripts

Now modify the following line in your script and test it.

"template": "{{ words | replace('"', '\\"') }}"

(The double backslash is intentional.)