update serialize.m from github/octave-de/serialize matlab branch