title: Mongoexport exporting invalid json files
body: <p>I collected some tweets from the twitter API and stored it to mongodb, I tried exporting the data to a JSON file and didn't have any issues there, until I tried to make a python script to read the JSON and convert it to a csv. I get this traceback error with my code:</p>
  
  <pre><code>json.decoder.JSONDecodeError: Extra data: line 367 column 1 (char 9745)
  </code></pre>
  
  <p>So, after digging around the internet I was pointed to check the actual JSON data in an online validator, which I did. This gave me the error of:</p>
  
  <pre><code>Multiple JSON root elements
  </code></pre>
  
  <p>from the site <a href="https://jsonformatter.curiousconcept.com/" rel="noreferrer">https://jsonformatter.curiousconcept.com/</a></p>
  
  <p>Here are pictures of the 1st/2nd object beginning/end of the file:
  <a href="https://i.stack.imgur.com/Msh48.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Msh48.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/ENbny.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ENbny.png" alt="enter image description here"></a></p>
  
  <p>or a link to the data <a href="https://www.mediafire.com/?8nwiv7noboccuj4" rel="noreferrer">here</a></p>
  
  <p>Now, the problem is, I haven't found anything on the internet of how to handle that error. I'm not sure if it's an error with the data I've collected, exported, or if I just don't know how to work with it.</p>
  
  <p>My end game with these tweets is to make a network graph. I was looking at either Networkx or Gephi, which is why I'd like to get a csv file.</p>