Handle Time class that is returned by Psych for YAML timestamps