Fixed up number parsing so it should accept valid JSON numbers (ints/floats). The syntax is not checked very strictly on numbers though.