pb: add protobuf entry type

@bmizerany @unihorn 
Change struct to protobuf type
just `data`?