private static string GetJsonString(PackageSpec packageSpec)
        {
            JObject jObject = packageSpec.ToJObject();

            return(jObject.ToString(Formatting.Indented));
        }