code: function serializeMerkleProof(proof){
  	var serialized_proof = proof.index;
  	if (proof.siblings.length > 0)
  		serialized_proof += "-"+proof.siblings.join("-");
  	serialized_proof += "-"+proof.root;
  	return serialized_proof;
  }
docs: /*function getSerializedMerkleProof(arrElements, element_index){
  var proof = getMerkleProof(arrElements, element_index);
  var serialized_proof = element_index;//+"-"+hash(arrElements[element_index]);
  if (arrElements.length > 1)
  serialized_proof += "-"+proof.siblings.join("-");
  serialized_proof += "-"+proof.root;
  return serialized_proof;
  } returns a string element_index-siblings_joined_by_dash-root