fixed yet another endianess problem, now always using the raw key values for export, sotrage and checksum calculation