convert students to array of hashes