save the root key value
keyvalue = data[root].key;