Add benchmarks for find by ID and find by index.
Constantize type to class mapping.
Use MessagePack for much faster serialization
Some micro-optimizations.