Exploring Mongo’s aggregate pipelines

Problem statement

{
"_id": ObjectId("5f0c07a36aea9125527d80f1"),
"firstName":"Bruce",
"lastName":"Wayne",
"fileInfoMap":{
"5a09fa70-1aa1-4c71-b938-64dde74eba79":{…