fixed escaping in json string output