HPCC-11636 Fix JSON output of INIFINITE and NaN real values

The indicators "inf" and "nan" need to be quoted as json
strings. Actual real values are not quoted.

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>