How To Filter Nested Objects In Javascript Arrays And Keep Only

How To Filter Nested Objects In Javascript Arrays And Keep Only