Use java serialization mechanism for btree refs