A better treatment of an empty object/array

If object/array is empty  then JsonObject.values/JsonArray.array set
null