Render responses as JSON

This is so it's easier for us to consume them later in the
`info-frontend` application.