Switched friendsCache to binary format