Refactored serializer, added XmlArrayAttribute and XmlArrayItemAttribute support, writers now operate on collections and items.