Fix NPE in JsonArray.equals when array contains nulls