if we have a lot of tables for different types of resources, maybe a set of classes that know how to turn different resources into tables?