def parse_authority_response
      threaded_responses = []
      #end_response = Array.new(20)
      end_response = []
      position_counter = 0
      @raw_response.select {|response| response[0] == "atom:entry"}.map do |response|
        threaded_responses << Thread.new(position_counter) { |local_pos|
          end_response[local_pos] = loc_response_to_qa(response_to_struct(response), position_counter)
        }
        position_counter+=1
        #sleep(0.05)

        #loc_response_to_qa(response_to_struct(response))
      end
      threaded_responses.each { |thr|  thr.join }
      end_response
    end
def parse_authority_response
      threaded_responses = []
      #end_response = Array.new(20)
      end_response = []
      position_counter = 0
      @raw_response.select {|response| response[0] == "atom:entry"}.map do |response|
        threaded_responses << Thread.new(position_counter) { |local_pos|
          end_response[local_pos] = loc_response_to_qa(response_to_struct(response), position_counter)
        }
        position_counter+=1
        #sleep(0.05)

        #loc_response_to_qa(response_to_struct(response))
      end
      threaded_responses.each { |thr|  thr.join }
      end_response
    end
Reformats the data received from the LOC service