implement simple xml serializer, re-think all the __slots__ usage