Protect against server sending ints as strings.