Json file getting passed as javascript object in express nodejs?

I am using the follwing line to import a json file in my code. However, instead of a config file, the jsonConfig variable is getting a javascript object and I can directly access, jsonConfig.children. Why is this happening? And how can I just import a json file instead of the object.

const jsonConfig = require('../../config/myconfig.json');