def _4_simplify_options(config):
    """Remove unnecessary difference between file/internal representation of options"""
    conversions = {
        'runner_poll_interval': 'runner.poll.interval',
        'daemon_default_workers': 'daemon.default_workers',
        'daemon_timeout': 'daemon.timeout',
        'daemon_worker_process_slots': 'daemon.worker_process_slots',
        'db_batch_size': 'db.batch_size',
        'verdi_shell_auto_import': 'verdi.shell.auto_import',
        'logging_aiida_log_level': 'logging.aiida_loglevel',
        'logging_db_log_level': 'logging.db_loglevel',
        'logging_plumpy_log_level': 'logging.plumpy_loglevel',
        'logging_kiwipy_log_level': 'logging.kiwipy_loglevel',
        'logging_paramiko_log_level': 'logging.paramiko_loglevel',
        'logging_alembic_log_level': 'logging.alembic_loglevel',
        'logging_sqlalchemy_loglevel': 'logging.sqlalchemy_loglevel',
        'logging_circus_log_level': 'logging.circus_loglevel',
        'user_email': 'autofill.user.email',
        'user_first_name': 'autofill.user.first_name',
        'user_last_name': 'autofill.user.last_name',
        'user_institution': 'autofill.user.institution',
        'show_deprecations': 'warnings.showdeprecations',
        'task_retry_initial_interval': 'transport.task_retry_initial_interval',
        'task_maximum_attempts': 'transport.task_maximum_attempts'
    }
    for current, new in conversions.items():
        for profile in config.get('profiles', {}).values():
            if current in profile.get('options', {}):
                profile['options'][new] = profile['options'].pop(current)
        if current in config.get('options', {}):
            config['options'][new] = config['options'].pop(current)

    return config