old_contents: # Annotated version
  from mongosanitizer.sanitizer import sanitize
  
  unsanitized_search = json.loads(request.args['search'])
  
  sanitize(unsanitized_search)
  
  db_results = mongo.db.user.find({'name': unsanitized_search})
  return db_results[0].keys()
  
new_contents: # Annotated version
  from mongosanitizer.sanitizer import sanitize
  
  unsanitized_search = json.loads(request.args['search'])
  
  sanitize(unsanitized_search)
  
  db_results = mongo.db.user.find({'name': unsanitized_search})
  
subject: Remove unnecessary example code