Try this.
var myRows = { myRows: [] };
var $th = $('table th');
$('table tbody tr').each(function(i, tr){
var obj = {}, $tds = $(tr).find('td');
$th.each(function(index, th){
obj[$(th).text()] = $tds.eq(index).text();
});
myRows.myRows.push(obj);
});
alert(JSON.stringify(myRows));
Working demo - http://jsfiddle.net/u7nKF/1/