A node module free creating tree data structure from text input