Staticmethod as a decorator on MambuStruct.serializeFields()