Easier way to handle params in /get/:id