Aha yes you are correct - it outputs an ISO string at the very least but does not parse it back to a date. I will update the article to reflect this!
I like that it does not do it by default but I can make it parse the dates if I want.
You can make JSON parse arbitrary sublanguages if you're willing to put in the work.
Still, this is not pure json this way, it's your own transformations