salve a tutti ho un problema con la creazione ed il passaggio di un array

con google map mi creo un percorso con questo schema comune:

var stops = [
['base', 45.541465,10.213051, 0,'questa &egrave la base'],
['gussago', 45.593741,10.156832, 1, 'questo &egrave gussago'],
['roncadelle', 45.530403,10.15101, 2, 'questo &egrave roncadelle'],
['san zeno', 45.492691,10.217185, 3, 'questo &egrave san zeno']
];

dovrei passare questa impostazione prendendo i dati ta una table html del tipo:

<table id="lista" >
<thead>
<tr>
<th >ID</th>
<th >Lat</th>
<th >Log</th>
<th >nome</th>
<th >frase</th>
</tr>
</thead>
<!-- corpo tabella -->
<tbody >
<tr id="1"><td class="name">gussago</td><td class="lat">45.593741</td><td class="log">10.156832</td><td class="id">1</td><td class="frase">questo &egrave gussago</td></tr>
<tr id="2"><td class="name">roncadelle</td><td class="lat">45.530403</td><td class="log">10.15101</td><td class="id">2</td><td class="frase">questo &egrave roncadelle</td></tr>
<tr id="3"><td class="name">san zeno</td><td class="lat">45.492691</td><td class="log">10.217185</td><td class="id">3</td><td class="frase">questo &egrave san zeno</td></tr>
<tr id="4"><td class="name">montichiari</td><td class="lat">45.416286</td><td class="log">10.393138</td><td class="id">4</td><td class="frase">questo &egrave montechiari</td></tr>
</tbody>
</table>

ho provato a fare così ma non funziona:
$("#box_"+id+" tbody").each(function() {
$(this).find('tr').each(function() {
index++;
arrayOfThisRow[index] = [];
var tableData = $(this).find('td');
if (tableData.length > 0) {
tableData.each(function() {
if($(this).hasClass('name')){var nome ="'"+$(this).text()+"'";arrayOfThisRow[index].push(nome); }
if($(this).hasClass('lat')){var lat =$(this).text();arrayOfThisRow[index].push(lat); }
if($(this).hasClass('log')){var log =$(this).text();arrayOfThisRow[index].push(log); }
if($(this).hasClass('id')){var aindex =index;arrayOfThisRow[index].push(aindex); }
if($(this).hasClass('frase')){var frase ="'"+$(this).text()+"'";arrayOfThisRow[index].push(frase); }
});
}
});
});

passando 'arrayOfThisRow' alla funzione che opera per google map
---
funzione_per googlemap(arrayOfThisRow);
per popolare la variabile stops
var stops =arrayOfThisRow;

---
ma non funziona mi da come errore nella creazione del marker:
InvalidValueError: setTitle: not a string

o provato anche ad usare e passare JSON.stringify(arrayOfThisRow)
ma in questo caso invece mi dice nella creazione del marker:
InvalidValueError: setZIndex: not a number

il marker risulta essere:
var marker = new google.maps.Marker({
position: myLatLng,
map: map,
title: stops[0],
zIndex: stops[3],
html: stops[4]
});