add data-monster-head attributes to text-node extraction