Load configurations from json.