Got SparseMatrix and SparseBinaryMatrix working with Cap'n Proto and
leveraged this from SP serialization.