def get(path, headers = {})
      response = super(path, { 'Accept' => ACCEPT }.merge(headers.to_h))
      case response.content_type
      when CONTENT_TYPE then [parse_response(response), response]
      else raise "Unknown content type #{response.content_type.inspect}"
      end
    end
def get(path, headers = {})
      response = super(path, { 'Accept' => ACCEPT }.merge(headers.to_h))
      case response.content_type
      when CONTENT_TYPE then [parse_response(response), response]
      else raise "Unknown content type #{response.content_type.inspect}"
      end
    end
Wrap requests to add an `Accept` header to ask for JSON, and parse
 response bodies as JSON data.