Explicitly request JSON response body.

- Extract header constants to class constants.