The hack in Collections is only one of two steps toward making collections serializable. They either need to support the serializer’s polymorphic delegation, or the serializer needs to special-case them.