name_to_rating dictionary in read_restaurants function works