All calls to did document serialization with normalized = false should generate a compact version of did documents (without authentication, controller, public key type...). But currently, the generated content is normalized (not compact).
Reason: because even if we use @JsonSerialize with things like using: DIDDocumentPublicKeySerializerFilter.serialize, in fact the "include()" method doesn't seem to be called and the one from the base class PropertySerializerFilter is called. Looks like static methods cannot be inherited in javascript? Unable to breakpoint in the overriding include().