Automatically escape quotes in strings