private PropertiesDictionary RoundTripThroughJson(PropertiesDictionary properties)
        {
            string temp = Path.GetTempFileName();

            try
            {
                properties.SaveToJson(temp);
                properties = new PropertiesDictionary();
                properties.LoadFromJson(temp);
            }
            finally
            {
                if (File.Exists(temp))
                {
                    File.Delete(temp);
                }
            }
            return(properties);
        }