new test of array reading/writing with json