Converted students array into hash