use protobuf on serverside