def METHOD_NAME(user):
    """FIXME: this doesn't quite fit here, too specialized, possibly get_context_data()?"""
    EMPTY_DOWNLOAD_REQUEST_METADATA = {
        "authenticated": False,
        "affiliation": {},
        "industry": "",
        "id": None,
    }
    # start with base download request metadata
    metadata = EMPTY_DOWNLOAD_REQUEST_METADATA
    if user is not None and user.is_authenticated:
        metadata = user.member_profile.METHOD_NAME()
    return json.dumps(metadata)