Parser that builds a D3 Tree graph from simple text format