$di->params when kept as array you need to mention

separately. You did not have got any errors for Aura.Di would have auto resolved it. But when using lazyGet for objects it would have trouble. So it is recommended to keep it separate.
Wouldn't that just add to the `Ushahidi\Api\Factory\EndpointFactory` array, not overwrite it?

It would overwrite the `factory` key if that had been set earlier... but it also would with this PR