If the type24 values are the same in the JSON array, the type15 values are summed. Add a new key type29 to the object whose type15 is positive and remove the rest of the