Convert items to raw byte data, then to a hex string representation when storing in SQL.