@Override
 public void write(UUID obj, SerializationContext context) throws IOException {
   context.writeLong(obj.getMostSignificantBits());
   context.writeLong(obj.getLeastSignificantBits());
 }
 @Override
 public void write(Long obj, SerializationContext context) throws IOException {
   context.writeLong(obj);
 }