return obj from merge to allow chaining