Ignore bad cert for testing

fix error when attempting to json.parse empty body text
fix error when response.body.parse[json] recieves emptystring