Add support for .NET 3.5 passing objects as dictionaries rather than as dynamic objects.