MandatoryEnumSerializer

constructor(memberIdOf: (E) -> String, fromMemberId: (String?) -> E)