Fix 1-off error in deserializeJsonArray()