For allowing json objects to be passed to confit instead of defaulting to read from file..