checkParams getter returning invalid function of req.param instead of dictionary key lookup of req.params