Takes parent child defined CSV and converts to hierarchical tree datastructure JSON