If I remember correctly mongo stores the id in “_id” and has a getter for “id” so maybe they just iterated all the keys of the model when they stringified their output
Apparently the records were strictly sequential, which I don’t believe is true for Mongo which IIRC includes the node ID in part of it.