Set Content-Type: application/json

for a bunch of endpoints that output JSON.

This makes output nicer when accessing via a tool, such as HTTPie