Fixed issue with serializing collection as root element.