[JBMAR-162] Allow classes to be removed from the class hierarchy of a serialized class