Deprecate `serialized_attributes` without replacement

We've stopped using it internally, in favor of polymorphism. So should
you!
Merge pull request #15704 from sgrif/sg-deprecate-serialized

Deprecate `serialized_attributes` without replacement