allow serializing safebloems from buffer