Build a table from an array of arrays, objects or collections