changed leaf nodes to empty objects
merge