title: Node.js Stream - Buffer to String gives [object Object]
body: <p>I am would like to be able to filter the output. However, I am having a issue converting from buffer to string. <code>console.log(JSON.stringify(obj.toString()));</code> keeps giving me <code>[object Object]</code> which I can not use. How can I convert the buffer to string so I can filter out the contents to stdout?</p>
  
  <pre><code>//inject 'bower and javascript' files or just 'javascript' files
  function injectStream(sourceStream, filesStream) {
      sourceStream
          .pipe(injector(filesStream, { ignorePath: 'app', addRootSlash: false }))
          .pipe(gulp.dest(INDEX_PATH_PARENT))
          .pipe(through2.obj(function(obj, enc, next) {
              console.log(JSON.stringify(obj.toString()));
              this.push(obj.contents);
              next();
      })).pipe(process.stdout)
  }
  </code></pre>