Support non-collection routes in ApiApplication

Currently, we assume all routes are either collection routes or the `/health/` route.
Is this necessary? Will the line below not return `set([])` if there are no duplicates?