@staticmethod
def _parse_numbers(value):
    """If string value can be represented as number, method will return it as int or float, else untouched."""
    try:
        conv_float = float(value)
        if conv_float - int(conv_float) == 0:
            value = int(conv_float)
        else:
            value = conv_float
    except ValueError:
        return value
    return value
