I am creating a React Web Application. And I want to transform a firebase collection with documents into an array of objects. Every object in the array corresponding to a document in the collection. It would make my life easier. The reason why I'm asking is that i haven't been able to find a solution that works with Firebase Version 9.