Red onions, 1 kg or Red onion jam?

Energy 40 kcal 205 kcal
Fat 0,1 g 0 g
of which saturates 0 g 0 g
Carbohydrate 9,3 g 49 g
of which sugars 4,2 g 49 g
Protein 1,1 g 0,8 g
Salt 0 g 0,1 g

Figures from the product labels. Green is the better value.

Red onions, 1 kg
A
Red onions, 1 kg
40 kcal Fat 0,1 g Carbs 9,3 g Prot. 1,1 g
Sat. fat 0 g Sugars 4,2 g
1 kg
Red onion jam
D
Red onion jam
205 kcal Fat 0 g Carbs 49 g Prot. 0,8 g
Sat. fat 0 g Sugars 49 g