I have a pretty large json file which i want to format and then return via an express api.
So i have to following function which works perfectly.
api.get(\