Support for BlockedSerializationError when I add a field named type_tag to the tags table

I am using Discourse version 3.4.0.beta2-dev. After adding a field named type_tag to the tags table, I encountered the error:

ActiveRecordSerializationSafety::BlockedSerializationError in ListController#latest Serializing ActiveRecord models (Tag) without specifying fields is not allowed. Use a Serializer, or pass the

option to #serializable_hash. More info: Preventing accidental serialization of ActiveRecord models

Although I have added:

add_to_serializer(:tag, :type_tag) {
object.type_tag
}

This plugin is old; I built it for Discourse version 3.2 but did not encounter this error. I appreciate any assistance you can provide.