def cleanup_authorizer(authorize):
    """Given a dictionary of a comment authorizer record, return a new 
    dictionary for output as JSON."""

    auth_data = authorize
    auth_data["id"] = str(auth_data["_id"])
    auth_data["authorizer"] = str(auth_data["authorizer"])
    auth_data["authorized"] = str(auth_data["authorized"])
    del auth_data["_id"]

    return auth_data