Fix example of REST hello world

Update `init` arity and export `rest_init` properly