Set configuration from an external json file