Refactor getColumnNames to use MetaColumns