title: mongodump - range query on timestamp filed raising FailedToParser Error
body: <p>The following is the structure of the documents:</p>
  
  <pre><code>{
    "_id" : ObjectId("4fccd39c9d8597a034d183b1"),
    "image" : "23ef514f8201320c2d7253e4bf28edf6",
    "owner" : "1b8c335c902ac4ab128ee8ed773bee04",
    "pageviews" : 57,
    "source" : "b1b3849b472edada1b922c786df5b46f",
    "timestamp" : ISODate("2012-06-04T00:00:00Z")
  }
  </code></pre>
  
  <p>I am doing the following <code>mongodump</code> query to dump all documents with <code>timestamp</code> greater than November 1, 2013:</p>
  
  <pre><code>mongodump -d dbname -c coll_name -q "{source: "7e04f65e47ed3ddfeb21716a247e3fa6", timestamp: {\$gte: new Date(2013, 10, 1)}}"
  </code></pre>
  
  <p>And it shows:</p>
  
  <pre><code>assertion: 16619 code FailedToParse: FailedToParse: Expecting '}' or ',': offset:13
  </code></pre>
  
  <p>Even though the same query object (except for the backslash used for escaping <code>$gte</code>) works fine in <code>mongo</code> shell. What am I doing wrong?</p>
  
  <p>P.S. the version of MongoDB is 2.4.6</p>