                modelDef.BindWebApplication(webApplication);
            }
            else
            {
                string modelDefinerTemplate = File.ReadAllText(jsonFilePath);
                modelDef = JsonConvert.DeserializeObject<ModelDefinition>(modelDefinerTemplate, new JsonSerializerSettings
                {
                    TypeNameHandling = TypeNameHandling.All
                });

                modelDef.BindWebApplication(webApplication);