Use hex to format byte arrays
Parse attributes with the correct byte order