changed result of tutor/rate to be a json of the average rating and total number of ratings