Allow headers to be set in options. Default to accept application/json.

This is useful for setting pdf accept headers for the statement endpoint.