I\'m trying to assign the correct shape to an object that serves as the initialValue of the reduce method. This object can have a dynamic number of properties and the name o