Use merge module instead of Object.assign