add basic serialization via visitor.
parse numeric values to xsd typed strings.