def strOrInt(v):
    """
    Determines whether v is String or Integer and returns appropriate object.
    :param v: 
    :return: 
    """
    v = str(v)
    if str.isnumeric(v):
        return int(v)
    else:
        return v
