Changed the collegio to return an object instead of array