pet_scop_collect_arrays: only collect subfields of outer array once