decode string sent out by ICAT