Nil the error in case there is none, else it would always go to the error fallback

The error get sets to an empty value, I believe it's when you pass it to the NSUrlConnection request.

I put the error to nil when the JSONSerialization has not failed. Not sure if setting it to nil on creation would fix the bug. We could also change the check at line 79.