in reply to Merging multiple JSON files into one using JSON::XS
So dereference the arrays of objects you have (aohash)
push @fields, @{ $decoded }; ######<<<<<<<< [download]
references quick reference
Later you make $hashof{Purple} = \@stuff;