DRY up column lists for query endpoints