Read config from json file