title: Convert yaml to JSON returns ["object Object"]
body: <p>I am building a backend service to convert YAML to JSON. However, it returns ["object Object"].</p>
  
  <p>Postman post request in text: <code>name: wf1</code></p>
  
  <p>Code:
      import { safeLoad } from 'js-yaml'</p>
  
  <pre><code>app.post('/,
      function (req, res) {
          res.send(JSON.stringify(safeLoad(req.body)))
  }
  )
  </code></pre>
  
  <p>Return <code>["object Object"]</code></p>
  
  <p>I expect it return JSON format of <code>name: wf1</code>.</p>