code: public Tree setName(String name) {
  		if (parent == null) {
  			throw new UnsupportedOperationException("Root node has no name!");
  		}
  		if (!parent.isMap()) {
  			throw new UnsupportedOperationException("Unable to set name (this node's parent is not a Map)!");
  		}
  		parent.remove((String) key);
  		key = name;
  		parent.putObjectInternal(name, value, false);
  		return this;
  	}
docs: Changes this node's name. Sample code:<br>
  <br>
  Tree node = new Tree("{\"a\":3}");<br>
  node.get("a").setName("b");<br>
  System.out.println(node.toJSON());<br>
  <br>
  This code above prints "{\"b\":3}".
  
  @param name
  the new name
  
  @return this node