Passing the json example as a local variable to the example template

For some reason when rendering the example partial inside the loop, it doesn't call
the example helper method on the controller, it calls instead a nil local variable
breaking the rendering of the single page template
Added generic route on top and added tab to differentiate request and response
Removing empty hosts from the headers