This is how you to add custom regexp to the route handler to do `.html`, `.json` etc:

https://github.com/Connexions/cnx-archive/pull/190/files