fix(routes): allow custom :format variable in route