Adding a .json and .html support to a route