register middleware as string to not force request to be instantiated to...

...o early and thus not having url parameters

@DeepDiver1975 @tanghus