Update CSVRecord.toArray to use associative array