lodash assign/extend functionality