Make hash merging recursive
Add optional recursive flag
Merge pull request #1771 from cakeinpanic/recursive-merge

Make hash merging recursive