added partial support for escaped chars in strings