protobuf persistence