Modify routes to remove trailing slashes (for Angular $resource compatibility)
Set id for ParamConverter