def get_output(response, more_out=False):
    """
    Returns final output to display

    :param response: WoppResponse object to get the info
    :param more_out: more or less information?
    :return: dict containing output information
    """
    out_dict = {'name': response.name, 'current_version': response.
        latest_version, 'summary': response.summary, 'homepage': response.
        homepage, 'package_url': response.package_url, 'author': response.
        author}
    if more_out:
        out_dict.update({'author_email': response.author_email, 'releases':
            ', '.join(response.releases) if response.releases else None,
            'project_urls': response.project_urls, 'requires_python':
            response.requires_python, 'license': response.license,
            'current_release_url': response.latest_release_url,
            'current_package_info': response.latest_pkg_urls,
            'dependencies': ', '.join(response.dependencies) if response.
            dependencies else None})
    else:
        out_dict.update({'latest_releases': ', '.join(response.
            latest_releases) if response.latest_releases else None})
    return out_dict
