remove a duplicated canConvert<JsonArray>() conditional statement