CMS-2230 Change JSON-generating classes to just return DateTime

JSON-generating classes return DateTime now