Bug fix for JSON-like data (proper escaping of quotes)