optimize and make for fair comparison with protobufs by movin capnproto schema to use integer keys