title: Scala how convert from Array to JSON format
body: <p>I have to the code:</p>
  <pre><code>socket.emit(&quot;login&quot;,obj, new Ack {
           override def call(args: AnyRef*): Unit = {           
             println(args)
           }
         })
  </code></pre>
  <p>Console output</p>
  <pre><code>WrappedArray({&quot;uid&quot;:989,&quot;APILevel&quot;:5,&quot;status&quot;:&quot;ok&quot;})
  </code></pre>
  <p>How to convert args from WrappedArray to JSON?</p>