extract the hierarchy from the otf2 and create paje file accordingly