finish json syntax tree