Totally agree with you.
If you return a format of `{$oid: "..."}` I'm expecting it to work in the playground but it isn't.
When trying to use $oid in playground it show error "unknown operator: $oid".
So my workaround for now instead of manually change is to use regex (\{\s*\n*"\$oid":\s"(\w+)"\s*\n*\}) and replace with ObjectId("$1").
Totally agree with you.
If you return a format of `{$oid: "..."}` I'm expecting it to work in the playground but it isn't.
When trying to use $oid in playground it show error "unknown operator: $oid".
So my workaround for now instead of manually change is to use regex (\{\s*\n*"\$oid":\s"(\w+)"\s*\n*\}) and replace with ObjectId("$1").
Same thing for dates and ISODate...