modification of the gnode.c: metadata parser