It seems that (get jid 'avatar) has started returning something different than previously (a binary blob, instead of a plist).