Use require to load json and simplify json file.