Database

[{"_id":BinData(3,"JliB6gIMRuSphAD2KmhzgQ==")}]

Query

db.collection.aggregate([{$project:{_id:{$toString:{$toUUID:"$_id"}}}}])

Result