Extract javascript object. It's like var_dump() on PHP