Option in serialization context to choose if the type annotation must be ignored in the case of an abstract class