added middleware and extended routes to handle json/xml formats but specifying resource w/ mime extname in uri
removed unused dep from package.json