title: MongoDB bulk insert failing for array of strings
body: <p>Given the following array:</p>
  
  <pre><code>arr = ["{'myId': 'myVal1'}","{'myId': 'myVal2'}"]
  </code></pre>
  
  <p>I can insert the items one by one, e.g.</p>
  
  <pre><code>db.collection.insert(arr[0])
  </code></pre>
  
  <p>But it fails when I try to insert the whole array (like it says in <a href="http://docs.mongodb.org/manual/reference/method/db.collection.insert/" rel="nofollow">http://docs.mongodb.org/manual/reference/method/db.collection.insert/</a> )</p>
  
  <pre><code>db.collection.insert(arr)
  Error: not an object src/mongo/shell/collection.js:179
  </code></pre>
  
  <p>I'm using MongoDB 2.2.4</p>
  
  <p>How can I make this work?</p>