// Return a formated string of the datastruture public static string GetAttributeString(AttributeBase data) { var myString = (JObject)JToken.FromObject(data); return(myString.ToString()); }