convert data to string before checksumming