Updated ByteTree conversion & examples
Minor changes in getHashValue and examples