Returned task with nil values in case of response parse failure

Incase, it fails to parse the response, it returns Task hash of nil values instead of throwing error.