allow to load config from json file