Is there a way to get a flat version of a hash tree. It doesn't have to be a hash tree, but just be ordered in the same way, and be flat.