Generify RestView