Modified app.js to write json to file to create valid json in data.json