gras: serialization loop for sbuffer