added event node:collapse and node:uncollapse which sends the collapsed/uncollapsed node as response