public void EmbedIndex(string indexName, object index)
        {
            var          type    = index.GetType();
            IndexWrapper wrapper = new IndexWrapper()
            {
                Type = type.FullName,
                Data = ZeroFormatterSerializer.NonGeneric.Serialize(type, index)
            };

            Indexes.Add(indexName, wrapper);
        }
        public object GetIndex(string indexName)
        {
            IndexWrapper wrapper = Indexes[indexName];

            return(ZeroFormatterSerializer.NonGeneric.Deserialize(Type.GetType(wrapper.Type), wrapper.Data));
        }