generate tree from JSON completed