use object iterator to stringify bstream