We're still using YAML to serialize the legislation_annotations ranges column. I'm not sure whether changing the serializer can have consequences on existing data, and I'm not sure which serializer we should provide instead. Quoting the Rails configuration guide [1]: > Unfortunately there isn't really any suitable defaults available in > Ruby's standard library. JSON could work as a format, but the json > gems will cast unsupported types to strings which may lead to bugs. [1] https://guides.rubyonrails.org/v7.1/configuring.html#config-active-record-default-column-serializer