commit copy over from master. fix: array not processed correctly.

'map' uses the block return value as the new value for element, should use 'each' instead.
commit stealed from master: use nodes_at_height_0.json as root_nodes.json for clarity