Serialize only when there isn't any network error

Hi!
If you use serialization methods like `.responseJSON()` and happens any network error (like timeout, canceling, whatever), the `error` parameter contains serialization error. But it should be the network error.
I've fixed it,  take a look please.