changed name of output.json to test1.json