Put the method and path in the response when there is no matching route
Added support for an optional format param based on the extension of the path