title: Converting Nodejs function return to JSON data
body: <p>I am working on a Nodejs project which is previously done. Now, I would like to check if the returning data is in JSON or not? if not, how can I convert it.
  Basically, I am trying to modify a search result in Nodejs and call the node api in React client.
  FYI, this project deals with huge data set.</p>
  <p>Thank you in advance for your help.</p>