write = function(str) {
    if (writeTo.update) {
      return writeTo.update(str, 'utf8');
    } else {
      return writeTo.write(str, 'utf8');
    }
  }
Expose streaming API

@param {object} object  Value to serialize
@param {object} options  Options, as for hash()
@param {object} stream  A stream to write the serializiation to
@api public