Removing duplicate object properties (resulting from merge)