title: Convert string dot notation into javascript object
body: <p>I'm working on an existing project that takes query parameters in an oddly formatted string dot notation. But they must be converted into objects before processing. This is currently being performed with conditionals on specific keys by name. </p>
  
  <p>How can this be performed dynamically? Below you will find an example of the input and desired output.</p>
  
  <p>Input:</p>
  
  <pre><code>{ 
      date.gte: '2019-01-01', 
      date.lt: '2020-01-01' 
  }
  </code></pre>
  
  <p>Output: </p>
  
  <pre><code>{
      date: {
          gte: '2019-01-01',
          lt: '2020-01-01'
      }
  }
  </code></pre>