Removed array to table conversion logic