Fixing serialization problems in util::any