Add XML serialization option