Drop some unused vars in `RestService`
Merge pull request #42 from vipulnsward/unused_vars

Thanks. Those have been left behind without cleanup.