[BUGFIX] Correct structure array for sections

The current implementation treats sections and containers equally which leads to incorrect rendering of either of the two in BE.