[4.2] Route : simplify extractOptionalParameters