Parser and encoder for the protobuf text format