validity now requires name field of the list of JSONObject