Only pymongo shenanigans