docs: def save_blob_as_json(filename, blob, force_write, debug):
      """
      Creates/Modifies file and saves python object as JSON
  
      :param filename:
      :param blob:
      :param force_write:
      :param debug:
  
      :return:
      """
      try:
          if prompt_4_overwrite(filename, force_write):
              with open(filename, 'wt') as f:
                  print('%s' % json.dumps(blob, indent=4 if debug else None, separators=(',', ': '), sort_keys=True, cls=CustomJSONEncoder), file=f)
      except Exception as e:
          printException(e)
          pass