Turns an array of sites into a hash