def fix_types(config):
    """Fix 'None' to None and 'False' or 'True' to not be strings"""
    for k in config:
        if config[k] == 'None':
            config[k] = None
        if config[k] == 'False':
            config[k] = False
        if config[k] == 'True':
            config[k] = True
        if k == 'timeout' or k == 'port':
            config[k] = int(config[k])
    return config
