second try to get tree.json paths working correctly