if the value looks like a number, store it as one

storing as strings makes eg numeric comparisons fail