Option in serialization context to choose if the type annotation must be...

... ignored in the case of an abstract class.

I'm not sure the best way to do is to add this code in GraphNavigator. But I propose this pull request to get your opinion.

I posted an issue called "Serializing an object that contains an abstract class" to describe the use case.