NX Spec: Metadata fields in byte arrays and header.

Signed-off-by: angelsl <hidingfromhidden@gmail.com>