added param  to LoadTable function
added batch start and flattend JSON