Enable serialization of Java client lib