title: How to convert JSON to String without using JSON.stringify?
body: <p>I've a JSON object and I want to display it in Code Mirror. Code Mirror expects string only.
  When I do JSON.stringify it screws up the values where it is an array instead of just string.</p>
  
  <p>eg.
  This is the output of JSON.stringify</p>
  
  <pre><code>{
       "version": "1.1",
       "sid": "ManagementService",
       "svcVersion": "0.1",
       "oid": "getCurrentStatsForServiceTypes",
       "params": {
            "serviceTypes": "[\"rest\", \"wsdl\", \"database\", \"rss\"]"
       }
  }
  </code></pre>
  
  <p>I want output as...</p>
  
  <pre><code>{
    "version": "1.1",
      "sid": "ManagementService",
      "svcVersion": "0.1",
      "oid": "getCurrentStatsForServiceTypes",
      "params": {
        "serviceTypes":["rest", "wsdl", "database","rss"]
      }
  }
  </code></pre>
  
  <p>In short I want to convert the Type from Object to String without affecting the value.</p>
  
  <p>Update:
  JSON Object is</p>
  
  <pre><code>{
    "version": "1.1",
      "sid": "ManagementService",
      "svcVersion": "0.1",
      "oid": "getCurrentStatsForServiceTypes",
      "params": {
        "serviceTypes":["rest", "wsdl", "database","rss"]
      }
  }
  </code></pre>
  
  <p>I want the same as a string. Something like this should work.</p>
  
  <pre><code>'{
    "version": "1.1",
      "sid": "ManagementService",
      "svcVersion": "0.1",
      "oid": "getCurrentStatsForServiceTypes",
      "params": {
        "serviceTypes":["rest", "wsdl", "database","rss"]
      }
  }'
  </code></pre>
  
  <blockquote>
    <p>Blockquote</p>
  </blockquote>