Right now we only support enums in the `add_attributes` serializer, but we could easily add support for other types.