fix escape sequences in strings