Thinking of using plain javascript objects as an n-ary tree for representing component tree in the playground