title: Object as queryParams in Angular 7
body: <p>I have an object:</p>
  
  <pre><code>let paramsObj = {
      mode: "resetPassword", 
      oobCode: "dsaSdsxSFXx", 
      apiKey: "OQPzWYkFNe", 
      lang: "en"
     }
  </code></pre>
  
  <p>I want to use this object as queryParams for router navigate:</p>
  
  <pre><code>this.router.navigate(['/action', { queryParams: paramsObj}]);
  </code></pre>
  
  <p>But this is doesn't work. What is the correct way to do this?</p>