Changed the json representation of parsetrees.