Implement escaping quotes in strings