you may try
var order_items = {};
$('#mi_books tbody tr.userbooks').each(function(index)
{
var bookisbn = $(this).find('td .mi_isbn').text();
var bookdata = {
'isbn': bookisbn,
'title': $(this).find('.mi_title').text(),
'qty': $(this).find('.mi_qty').text(),
'price': $(this).find('.mi_price').text()
};
order_items[index] = bookdata;
});
alert(JSON.stringify(order_items));
your only mistake was a try to create associative arrays instead of using objects, that can do it