In this case somebody thought it was a good idea to store everything in MongoDB as big JSON files; we decided to migrate to a structured relational db. Thus needing all these structured entities. With a proper normalized design in hand ChatGPT