Render Double.NaN, Double.POSITIVE_INFINITY and Double.NEGATIVE_INFINITY correctly as 'null' in JSON output. Fixes https://github.com/structr/structr/issues/188