def print_finding
      if @finding_print_index < @findings.length
        result = @findings[@finding_print_index].to_json
        result += ',' unless @finding_print_index >= @findings.length - 1
        puts result
        puts
        $stdout.flush
        @finding_print_index += 1
      else
        raise IndexOutOfBoundException
      end
    end
def print_finding
      if @finding_print_index < @findings.length
        result = @findings[@finding_print_index].to_json
        result += ',' unless @finding_print_index >= @findings.length - 1
        puts result
        puts
        $stdout.flush
        @finding_print_index += 1
      else
        raise IndexOutOfBoundException
      end
    end
Prints one finding in json format.