This solves the issue that MongoDB documents are stored under and read with different UUID formats between different environments, for example Java drivers and the Mongo Shell.
- Download https://github.com/mongodb/mongo-csharp-driver/blob/750d021a0ea5fcc6ade34b4a968fdbe16f3d2377/uuidhelpers.js
- Load the script into the Mongo Shell, i.e. mongo --shell uuidhelpers.js
JUUID("a635b4cf-0d53-4780-8b10-0f27ec2197ff")