Allow expires to be consumed from JSON responses

json.Unmarshal makes all numeric types become a Float64, which means the check for expires_in will always fail.

Extract the field as a float64 and cast to int