HH-41535 Add parameter allowing to parse xml or json in response despite error