add merge variable feature
Merge pull request #163 from jalkoby/master

Add deep merge mode