conver shapes to new obj format