DictionaryToExpandoObject Takes a dictionary and recursively builds an ExpandoObject. You can get the assembly from Nuget.