def serialize(mongo_dict):
    """Serialize just converts the MongoDB "_id" ObjectId into a string "id" in a dictionary

    :param mongo_dict: The dict from MongoDB
    :type: mongo_dict: dict

    :rtype: dict
    """
    if mongo_dict and "_id" in mongo_dict:
        mongo_dict["id"] = str(mongo_dict.pop("_id"))
    return mongo_dict