Create a global config object from json files.