made sure the measurement in SWAP is truly a string as required

This bug meant that PROBA2 JP2 files could not be read in as a map.