class_docstr: Handles preparing and sending data from the classifier function to Kinesis Firehose
docstr: Write the dictionary records to json lines and return the list of lines
  
  Args:
      records (list<dict>): Records to be written to line-delimited json
  
  Returns:
      list: JSON serialized records
docstr_tok: ["Write","the","dictionary","records","to","json","lines","and","return","the","list","of","lines","Args",":","records","(","list","<","dict",">",")",":","Records","to","be","written","to","line-delimited","json","Returns",":","list",":","JSON","serialized","records"]
code: def _records_to_json_list(cls, records):
      """Write the dictionary records to json lines and return the list of lines
  
      Args:
          records (list<dict>): Records to be written to line-delimited json
  
      Returns:
          list: JSON serialized records
      """
      # Write the json lines to the object in minimal form
      return [
          json.dumps(cls.sanitize_keys(record), separators=(",", ":"))
          + "\n"
          for record in records
      ]
  
imports: from collections import defaultdict
  import json
  import hashlib
  import re
  import backoff
  import boto3
  from botocore.exceptions import ClientError, HTTPClientError
  from botocore.exceptions import ConnectionError
  from streamalert.shared import CLASSIFIER_FUNCTION_NAME
  import streamalert.shared.helpers.boto
  from streamalert.shared.logger import get_logger
  from streamalert.shared.metrics import MetricLogger
  from streamalert.shared.backoff_handlers import backoff_handler, giveup_handler, success_handler
label_desc: Use image node_id 2 for calling the FirehoseClient obj's underlying member method code with example usage: obj._records_to_json_list(cls, records) and returns: unknown