Fix in GraphNavigator for serialization of polymorphic objects