Implemented XML serializer for text field (draft)