Send a JSON response.

A server that reads a file and parse it to JSON, use res.json() to send the content.