docs: def insert_io( args ):
      """
      Inserts a method's i/o into the datastore
  
      :param dict args: A dictionary of the hash, stack, packet_num, methodname, args, and returnval
  
      :rtype None:
      """
      global CACHE_
      load_cache()
      hash = args['hash']
      record_used('cache', hash)
      packet_num = args['packet_num']
      if hash not in CACHE_['cache']:
          CACHE_['cache'][hash] = {}
      CACHE_['cache'][hash][packet_num] = pickle.dumps(args, PPROT)
      write_out()