deduce columns from object attributes