HPCC-10494 Make WsEcl REST query responses use specified format

Exceptions were not respecting the format specified in the URL.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>