endian swap the map header when loading maps