Changed getting table data with object array.