fix: convert date and time object to iso format for JSON

Arnaud Vergnet requested to merge topic/default/date-serialize into branch/default

Merge request reports