EZP-21191: refactored: extract method
EZP-21191: updated ezxhtml5 output schema with docs
EZP-21191: added schema docs