Look up the inheritance tree for a Serializer

In my current project we have many single table inheritance models. Instead of defining a different serializer for each one, I thought it would be preferable to define one for the superclass, which could be overridden if necessary.