Converts single and double quotes, and re-escapes quotes within the string