Change social networks array to hash of symbols and classes