title: How to convert output into JSON format?
body: <p>I am trying to convert below output into a valid json output. 
  Cant able to solve this using shell scripts.</p>
  
  <p><strong>output</strong></p>
  
  <pre><code>svc pts/0        localhost. Tue Apr 28 21:40   still logged in   
  svc pts/0        localhost. Tue Apr 28 21:40 - 21:40  (00:00)    
  svc pts/0        localhost. Tue Apr 28 21:40 - 21:40  (00:00)
  ...etc
  </code></pre>
  
  <p><strong>valid json output</strong></p>
  
  <pre><code>{
      "Result": [{
          "models": ["svc pts 0 localhost.Tue Apr 28 21: 40 still logged in",
              "svc pts/0        localhost. Tue Apr 28 21:40 - 21:40  (00:00)"
          ]
      }]
  }
  </code></pre>
  
  <p>is it possible to convert? can someone provide solution.s</p>