fix bug with JSON output loop on multiple schools for each prof