made a json file of the dog sentence
changed tree to use a json file