block: added more helper macros for copying msguids with correct
endianness, and beginning of metadata parsing