HPCC-9874 Improve WsEcl JSON formatting for xml types used by ECL

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>