title: Convert an RDD [String] to a JSON File without converting to DataFrames [Scala]
body: <p>I have a file of RDD of Strings in the format : </p>
  
  <pre><code>78656|twitterId:14|Hi|2010-05-19
  </code></pre>
  
  <p>I want to convert this RDD[String] to a JSON file in the format :</p>
  
  <pre><code>"78656","twitterId:14","Hi","2010-05-19"
  </code></pre>
  
  <p>I am currently using the code : </p>
  
  <pre><code>tweetTable.toJSON.saveAsTextFile("Gaga") 
  </code></pre>
  
  <p>to convert it to a JSON File but the data is in the format : </p>
  
  <pre><code>"_1":"78656|twitterId:14|Hi|2010-05-19"
  </code></pre>
  
  <p>Can someone please help me with this? </p>