This package provides api to merge 2 json objects, with customization in nodejs.
github.com/praddy4/node-json-merge
praddy4/node-json-merge