def hash_to_rxf_node(hash , level , ref)
      node = RxFile::HashNode.new(ref)
      hash.each do |key , object|
        k = to_rxf_node( key ,level + 1)
        v = to_rxf_node( object ,level + 1)
        node.add(k , v)
      end
      node
    end
def hash_to_rxf_node(hash , level , ref)
      node = RxFile::HashNode.new(ref)
      hash.each do |key , object|
        k = to_rxf_node( key ,level + 1)
        v = to_rxf_node( object ,level + 1)
        node.add(k , v)
      end
      node
    end
Creates a HashNode (see there) for the Hash.
 This mainly involves creating nodes for key value pairs