move information from array into empty hash