Clean up the datatypes of the imported data