uuid to bytes and vice versa is big endian according to network byte
order