Echo request headers as JSON

Return a properly formatted JSON object and content-type header echoing
the HTTP request headers received by the app.