Make sure JsonArray is mutable when creating with array