convert tables, indexes, and columns as orderedmap