Add DateTime support to_xml