Escape and unescape quotes