If I create a JavaScript object like:
var lst = []; var row = []; row.Col1 = \'val1\'; row.Col2 = \'val2\'; lst.push(row);
And then convert it
You want row to be a dictionary, not a vector. Define it like this:
var row = {};