def to_string(option, value):
    """
    Converts any values to strings when appropriate
    """
    try:
        value = value.__str__()
    except AttributeError:
        pass
    return option, value
