If they are 'groups' a simple Ruby script could convert them into components... BUT at this point, please explain what you want to achieve, very clearly...