Database

[{"abc":"xyz","geometry":[{"lat":45.0,"lng":25.0},{"lat":46.0,"lng":26.0}]}]

Query

db.collection.aggregate([{$project:{"abc":1,"geometry":{"type":"LineString","coordinates":{$map:{"input":"$geometry","as":"this","in":["$$this.lng","$$this.lat"]}}}}}])

Result