Converts object to a Dictionary and adds a text and value as an entry. Used in XML to Dynamic manipulation.
public static IDictionary<string, object> AddProperty(this object obj,
string name, object value)
The key name of the new item.
The value field of the new item.