Recognize integer values in string deserialization