Added polymorphic children serialization