Add JSON DateTime write handlers.