Fix exception on GsonParsing if invalid json is returned.