Change delta format

Change delta format to the new proposed format (without context). 

Change also nested output to produce complete trees with multiple values instead of arrays of trees with single values.