Optimizing Hierarchical Data Storage in MongoDB: Vertex Systems Case Study