unify metadata across table types