WIP: lazy deep merging