xsd: Add __str__ function for complex types