fixing incorrect single quote escaping in JSON