Add missing backslashes to code in docs.

Insufficient escaping of " and \ characters in the code examples.

Cheers,