Adding ability to convert ObjectInstance into object

Using an ExpandoObject which can be casted as a
IDictionary<string,object> if necessary