public void AddValue(string key, object value, Type type = null)
        {
            if (type == null)
            {
                type = value == null ? typeof(object) : value.GetType();
            }

            data[key] = new XunitSerializationTriple(key, value, type);
        }
        public static string SerializeTriple(XunitSerializationTriple triple)
        {
            var serializedType  = SerializationHelper.GetTypeNameForSerialization(triple.Type);
            var serializedValue = Serialize(triple.Value);

            // Leaving off the colon is how we indicate null-ness
            if (serializedValue == null)
            {
                return($"{triple.Key}:{serializedType}");
            }

            return($"{triple.Key}:{serializedType}:{serializedValue}");
        }