docs: def info2lists(info, in_place=False):
  
      """
      Return info with:
  
      1) `packages` dict replaced by a 'packages' list with indexes removed
      2) `releases` dict replaced by a 'releases' list with indexes removed
  
      info2list(info2dicts(info)) == info
      """
      if 'packages' not in info and 'releases' not in info:
          return info
      if in_place:
          info_lists = info
      else:
          info_lists = info.copy()
      packages = info.get('packages')
      if packages:
          info_lists['packages'] = list(packages.values())
      releases = info.get('releases')
      if releases:
          info_lists['releases'] = list(releases.values())
      return info_lists