code: function flattenValues (report) {
      if (Object.prototype.toString.call(report.values) === '[object Array]') {
        report.values.forEach(function (value) {
          Object.assign(report, value)
        })
      }
      return report
    }
docs: statreports can come with a value array instead of properties