code: function show (req, res, next) {
      var _embed = req.query._embed
      var _expand = req.query._expand
      var id = utils.toNative(req.params.id)
      var resource = db.get(name).getById(id).value()
  
      if (resource) {
        // Clone resource to avoid making changes to the underlying object
        resource = _.cloneDeep(resource)
  
        // Embed other resources based on resource id
        // /posts/1?_embed=comments
        embed(resource, _embed)
  
        // Expand inner resources based on id
        // /posts/1?_expand=user
        expand(resource, _expand)
  
        res.locals.data = resource
      }
  
      next()
    }
docs: GET /name/:id GET /name/:id?_embed=&_expand