Deal with problematic single quotes and parens in the output