io.streams.document: Write objects back to stream. Works on core/math!