Extended moment to handle JSON-encoded DateTime objects from servers.