Fixed ERRAI-507: MarshallersGenerator fails for subtypes of generic entities