def METHOD_NAME(constant):
    return {
        "id": constant.id,
        "license_name": constant.name,
        "exists": constant.exists,
        "license_url": constant.url,
        "license_description": constant.description,
        "copyright_holder_required": constant.copyright_holder_required,
        "is_custom": constant.custom,
    }