update to new fkooman/rest and plugin, update spec, update code to work with new dependencies