For tomato and pickled onion salad, place onion in a bowl. Combine vinegars, sugar, ginger, chilli, garlic, spices and 120ml water in a saucepan and bring to the boil. Strain liquid through a fine sieve over onion, reserving pickling liquid for another use. Cover with plastic wrap and set aside until completely cold (30-40 minutes). Drain onion, place in a bowl with remaining ingredients and toss to combine.