Serialization of nested polymorphic objects https://github.com/schmittjoh/serializer/pull/238