Parse strings with escapes