cleaned_data_to_gt function

Do all the formatting for the GT