using lodash.merge to merge parameters