adapted from
https://github.com/lmenezes/json-tree
removed new. uses create fn directly
random ints instead if random floats for ids
optional 2nd argument. if trueish, tree starts collapsed
tweaked a bit the CSS. colors from clrs.cc