Collapse quoted strings in strings