Create table of fields for an object