Simplified the presentation of the datetime object in the json output