fix: return of newstruct_serialize