Move new JSONArray out of synchronized