fix to printArr to handle escaping quotes