Added code to parse hierarchies into the D3 JSON tree structure from indented lists