I tried using JSON.stringify(object), but it doesn\'t go down on the whole structure and hierarchy.
JSON.stringify(object)
On the other hand console.log(object) d
console.log(object)
A more simple way is to use fire fox dev tools, console.log(yourObject) -> right click on object -> select "copy object" -> paste results into notepad
thanks.