Here's my code. DbContext.Resources is IMongoCollection<dynamic> because it's highly unstructured.
var resource = await DbContext.Resources.Find(
Builders<dynamic>.Filter.Eq("_id", ObjectId.Parse(id))
).SingleAsync();
And the resulting resource object is
[{
"_id": {
"timestamp":1487967980,
"machine":614561,
"pid":30862,
"increment":16022269,
"creationTime":"2017-02-24T20:26:20Z"
},
...
}]
What is the best practice for parsing this _id?