title: ConvertTo-JSON not outputting correctly
body: <p>I'm trying to use the ConvertTo-JSON method in Powershell to create a JSON result but my output that I'm getting is not valid JSON. A sample of my output is:</p>
  
  <pre><code>{
      "label":  "$stockShortName"
  }
  {
      "label":  "$stockShortName"
  }
  </code></pre>
  
  <p>This is what I'm expecting:</p>
  
  <pre><code>[
      {
          "label":  "$stockShortName"
      },
      {
          "label":  "$stockShortName"
      }
  ]
  </code></pre>
  
  <p>This is the code that I'm using:</p>
  
  <pre><code>#Write each message where there is a stockshortname
  foreach ($row in $DataSet.Tables[0].Rows){  
      $stockShortName = $row[0].ToString().Trim()
      (New-Object PSObject |
       Add-Member -PassThru NoteProperty label '$stockShortName' ) | ConvertTo-JSON
  }
  </code></pre>