return serial number to null terminated hex string