Insert elements into target by passing an object of nodes