This is a script to prepare mongodb cursors for json responses by finding any ObjectId values and turning them into strings.