@Override
    public void serialize(Result result) throws IOException {
      ProtobufUtil.toResult(result, true).writeDelimitedTo(out);
    }
The following deserializer class is used to load exported file of 0.94
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/ResultSerialization.java