[GRAM-57] Add the use of a class decorator to DateTime objects so as to make use of direct __toString calls