Refactor/optimize protobuf

Expose types of data in AllDataProjection and datarows for high dimensional data