title: key 1.0 must not contain '.' error in MongoDB Compass
body: <p>I am trying to insert the following document in a collection inside a mongo database using MongoDB Compass.</p>
  
  <pre><code>{
     "name":"cat",
     "label":{
        "1.0":"foo",
        "2.0":"bar"
     }
  }
  </code></pre>
  
  <p>but I'm getting this error:</p>
  
  <blockquote>
    <p>key 1.0 must not contain '.'</p>
  </blockquote>
  
  <p>I tried to insert the same document via mongo shell with the command:</p>
  
  <pre><code>db.collection_name.insert([
      {
          "name": "cat",
          "label": {
              "1.0": "foo",
              "2.0": "bar"
      }
  
  ]);
  </code></pre>
  
  <p>and the document is inserted correctly.</p>
  
  <p>Also, if I export the whole collection with MongoDB Compass and then I try to import it, I got the error.</p>
  
  <p>So, my question is: why MongoDB Compass gives me that error while the <code>insert</code> command via terminal works correctly? </p>
  
  <p>I have the latest version of MongoDB Compass installed (1.20.4 Stable)</p>