def image_history_helper(image):
    return {
        "id": str(image["_id"]),
        "user_phone": image["user_phone"],
        "original_filename": image["original_filename"],
        "bg_type": image["bg_type"],
        "created_at": image["created_at"]
    }  