Filtering out ui-routes from API specification
The routes used by the frontend does not need to be shown in the API specification.
It would be nice if we could filter on namespaces somehow, but I didn't see a way how to do that when quickly looking over the documentation, so added a preprocessing hook that removes the routes from the specification instead.