adapt gumtree parser to new structore of parser agent