As a follow-up of #34410, Spring can now support open polymorphism with Kotlin Serialization.