public static void Main()
var a = new Include{Type = "Baz", Attributes = new Baz{Prop1 = "hello"}};
var b = Convert.ChangeType(a.Attributes, Type.GetType(a.Type));
Console.WriteLine(b.Prop1);
public string Type { get; set; }
[JsonProperty("attributes")]
public dynamic Attributes { get; set; }
public string Prop1 { get; set; }