Add method of getting route parameter without evaluating all params

Fixes #1787