@staticmethod
def maybe_number(value):
    """Convert number strings to numbers, pass through non-numbers."""
    try:
        return int(value)
    except ValueError:
        try:
            return float(value)
        except ValueError:
            return value
