title: Nodejs Get get results printed to the browsers, but it prints to console log
body: <p>I am trying to print the result to res.json() but its not printing to the web</p>
  <pre><code>app.get('/valiate_email/:email', async (req, res, next) =&gt;{
       await validateEmail(req.params.email, (result)=&gt;{
           
            console.log(result);
  
            res.json({&quot;result&quot;:result});
  
      });
  });
   
  </code></pre>
  <p>console.log(result) prints just like i want it</p>
  <pre><code>[
    email: 'arererew-ewdog@mail.ru',
    validated: true,
    validationResult: {
      regex: { valid: true },
      typo: { valid: true },
      disposable: { valid: true },
      mx: { valid: true },
      smtp: { valid: true }
    }
  ]
  </code></pre>
  <p>but res.json({&quot;result&quot;:result}); comes to the broswer like this {&quot;result&quot;:[]}</p>
  <p>Please help. Thank You.</p>