convert rest to meta

#869