proper date and number serialization implemented