fixed JSONArray to List and vice-versa converter