fix exception in jsonArray

Arrays.asList will create a fixed-size List which can not remove in iterator.
so we have to wrap it with ArrayList.