Fix date and time formatting and remove xsi and xsd info from output file.