Allow indexed access to JSON arrays.