ServiceStack/ServiceStack.Text — pull request #363 by flq (2013-08-14 11:59:54+00:00)
Title: Proper serialization of an object implementing IEnumerable<T>

This commit fixes an issue whereby child items of a class
implementing IEnumerable would not get a __type field,
thereby making it impossible to deserialize the output.
The fix moved code that was meant to run on top of IEnumerable
instances to a place where it will be checked in all circumstances.
Previously it would only be called when an object implements
IDictionary.