change from struct to oriental::document
improve handling date and datetime