Switch to loading from json file.