[streaming] Serialization rework to reuse objects