PetScan::scan_arrays: store record types into new PetTypes object