Remove section inheritance declaration sections from output.
Account for nested array appending.