code: def postprocess(self, json_string):
          
          is_compressing, is_hash, compressed, spaces = False, False, [], 0
          for row in json_string.split('\n'):
              if is_compressing:
                  if (row[:spaces + 5] == ' ' * (spaces + 4) +
                          ('"' if is_hash else '{')):
                      compressed.append(row.rstrip())
                  elif (len(row) > spaces and row[:spaces] == ' ' * spaces and
                          re.match('[\]\}],?', row[spaces:].rstrip())):
                      compressed.append(row.rstrip())
                      is_compressing = False
                  else:
                      compressed[-1] += ' ' + row.strip()
              else:
                  compressed.append(row.rstrip())
                  if any(a in row for a in ['edges', 'nodes']):
                      # Fix to handle issues that arise with empty lists
                      if '[]' in row:
                          continue
                      spaces = sum(1 for _ in takewhile(str.isspace, row))
                      is_compressing, is_hash = True, '{' in row
          return '\n'.join(compressed)
docs: Displays each entry on its own line.