merge array collection items when reverting layout blocks