```ruby
module Sprangular
  class TaxonomySerializer < BaseSerializer
    attributes :id, :name

    has_one :root, embed: :objects,
                   serializer: Sprangular::TaxonSerializer
  end
end
```

Allow the taxonomy attributes to be overridden in host app
user
```ruby
module Sprangular
  class TaxonomySerializer < BaseSerializer
    attributes *taxonomy_attributes

    has_one :root, embed: :objects,
                   serializer: Sprangular::TaxonSerializer
  end
end
```
assistant