<human>:  Iterate through PyMongo Cursor as key-value pair
<bot>:, record) for record in cursor)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.