Added support for serializing collections in message converters.