code: def _multilines(obj):
      try:
          lines = obj.splitlines()
          return lines + [""] if obj.endswith("\n") else lines
      except AttributeError:
          # Remove the final blank space on Python 2.7
          # return json.dumps(obj, indent=True, sort_keys=True).splitlines()
          return [
              line.rstrip()
              for line in json.dumps(
                  obj, indent=True, sort_keys=True
              ).splitlines()
          ]
  
imports: import difflib
  import json
  import os
  import re
  from jupytext.paired_paths import full_path
  from .cell_metadata import _IGNORE_CELL_METADATA
  from .combine import combine_inputs_with_outputs
  from .formats import check_auto_ext, long_form_one_format
  from .header import _DEFAULT_NOTEBOOK_METADATA
  from .jupytext import read, reads, write, writes
  from .metadata_filter import filter_metadata
label_desc: Use image node_id 1 for calling a global function with example usage: _multilines(obj) and returns: unknown, unknown