use singlequotes for curl data and only escape singlequotes

`curl` example data uses doublequotes for the data and then escapes double and singlequotes.

JSON data requires doublequotes, so it makes more sense to enclose it in single quotes.