In a blender, puree the tomatoes with half the onion. Heat the oil and saute the onion until golden brown. Combine the spices with the tomato mixture and add to the sauting onions. Cook for 25 minutes. Stir occasionally. Add peas, sugar and more salt and pepper. Simmer until the peas are warmed through and serve over rice.