html: pass the metadata graph to the head parse states