Returned task hash with nil values in case of any failures

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