Dumper: improved escaping of strings