Aggregate dupe keys into a list in datapipeline translation

When going from API -> definition translation dupe keys should aggregate
their values into a list.