def get_job_main_info(job):
    """
    Return a dictionary with the pieces of information that will be presented on the terminal.

    :param job: A Job object provided by ScrapingHub
    :return: A dictionary
    """
    info = job.info
    main_info = {
        'id': job.id,
        'spider': info.get('spider'),
        'state': info.get('state', ''),
        'items_scraped': info.get('items_scraped', ''),
        'errors_count': info.get('errors_count', ''),
        'tags': ', '.join(info.get('tags', [])),
        'version': info.get('version', ''),
        'started_time': info.get('started_time', ''),
        'close_reason': info.get('close_reason', ''),
    }
    return main_info