How to flatten data of mongodb when it's array of nested object and populated

"nbfc_report": [
        {
            "buyer": [
                {
                    "buyer_id": {
                        "_id": "62a8548c21d5976aea2f1787",
                        "company_name": "HERO MOTOCORP LIMITED"
                    },
                    "seller_id": {
                        "_id": "62a8548c21d5976aea2f1787",
                        "company_name": "HERO MOTOCORP LIMITED"
                    },
                    "_id": "62ba95ac8e30735c9a505ed3",
                    "created_at": "2022-06-28T05:46:20.738Z",
                    "updated_at": "2022-06-28T05:46:20.739Z"
                }
            ]
        },

now i have to show only company_name in buyer_id and company_name in seller_id

please help me at least show some example