Fix quote quoting.

Ensure we globally replace single quotes with double quotes, rather than just the first occurrence.

Resolves https://nebula.atlassian.net/browse/ENG-319.