ouput.json now output and read from the root directory