Avoid an unnecessary extra copy when constructing JsonArray's.