Allow configuration to be specified as json file