Fix big endian problems with gbt submissions.