```ruby
# encoding: utf-8

require 'oauth'
require 'oauth/signature/plaintext'
require 'json'

module PlanningCenter
  class Client
    SITE = 'https://planningcenteronline.com'

    attr_accessor(
      :access_token,
      :access_token_secret,
      :consumer_key,
      :consumer_secret
    )

    def initialize
      yield(self) if block_given?
    end

    def organization
      Organization.find(self)
    end

    def get(path, headers = {})
      response = request(:get, path, headers)
      parse_response(response)
    end

    private

    def default_headers
      { 'content-type' => 'application/json' }
    end

    def oauth
      @oauth ||= OAuth::AccessToken.new(
        consumer,
        access_token,
        access_token_secret
      )
    end

    def consumer
      @consumer ||= OAuth::Consumer.new(
        consumer_key,
        consumer_secret,
        site: SITE,
        signature_method: 'plaintext'
      )
    end

    def request(type, path, headers)
      oauth.send(
        type.to_sym,
        path,
        default_headers.merge(headers)
      )
    end

    def parse_response(response)
      JSON.parse(response.body)
    rescue JSON::ParserError
      raise(
        APIError,
        'Invalid response from API. ' \
        "Code: #{response.code}, " \
        "Body: #{response.body.inspect} "
      )
    end
  end
end
```

Add 'application/json' Accept header to requests
user
```ruby
# encoding: utf-8

require 'oauth'
require 'oauth/signature/plaintext'
require 'json'

module PlanningCenter
  class Client
    SITE = 'https://planningcenteronline.com'

    attr_accessor(
      :access_token,
      :access_token_secret,
      :consumer_key,
      :consumer_secret
    )

    def initialize
      yield(self) if block_given?
    end

    def organization
      Organization.find(self)
    end

    def get(path, headers = {})
      response = request(:get, path, headers)
      parse_response(response)
    end

    private

    def default_headers
      {
        'content-type' => 'application/json',
        'accept' => 'application/json'
      }
    end

    def oauth
      @oauth ||= OAuth::AccessToken.new(
        consumer,
        access_token,
        access_token_secret
      )
    end

    def consumer
      @consumer ||= OAuth::Consumer.new(
        consumer_key,
        consumer_secret,
        site: SITE,
        signature_method: 'plaintext'
      )
    end

    def request(type, path, headers)
      oauth.send(
        type.to_sym,
        path,
        default_headers.merge(headers)
      )
    end

    def parse_response(response)
      JSON.parse(response.body)
    rescue JSON::ParserError
      raise(
        APIError,
        'Invalid response from API. ' \
        "Code: #{response.code}, " \
        "Body: #{response.body.inspect} "
      )
    end
  end
end
```
assistant