BUG/MINOR: stats: fix validity of the json schema

The json schema seems to be invalid when checking using the validator
from https://www.jsonschemavalidator.net/. Correct it using the
following specification :
http://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.1

The impact of the bug it not well known as I am not sure of how useful
the json schema is for users. It is probably not used at all or else
this bug would have been reported.

This should be backported up to 1.8.
diff --git a/src/stats.c b/src/stats.c
index 38cac0c..c306bfc 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -3579,9 +3579,9 @@
 			"\"title\":\"Info\","
 			"\"type\":\"array\","
 			"\"items\":{"
+			 "\"title\":\"InfoItem\","
+			 "\"type\":\"object\","
 			 "\"properties\":{"
-			  "\"title\":\"InfoItem\","
-			  "\"type\":\"object\","
 			  "\"field\":{\"$ref\":\"#/definitions/field\"},"
 			  "\"processNum\":{\"$ref\":\"#/definitions/processNum\"},"
 			  "\"tags\":{\"$ref\":\"#/definitions/tags\"},"
@@ -3626,9 +3626,9 @@
 			"\"properties\":{"
 			 "\"errorStr\":{"
 			  "\"type\":\"string\""
-			 "},"
-			 "\"required\":[\"errorStr\"]"
-			"}"
+			 "}"
+			"},"
+			"\"required\":[\"errorStr\"]"
 		       "}"
 		      "],"
 		      "\"definitions\":{"