task solved via smart flatten solution: flattening parsed html up to correct h3 element