Handle dates in json dumps of the archiver

Fixes #750