code: func (c *Client) DownloadManifest(hash string) (*api.Manifest, bool, error) {
  	res, isEncrypted, err := c.DownloadRaw(hash)
  	if err != nil {
  		return nil, isEncrypted, err
  	}
  	defer res.Close()
  	var manifest api.Manifest
  	if err := json.NewDecoder(res).Decode(&manifest); err != nil {
  		return nil, isEncrypted, err
  	}
  	return &manifest, isEncrypted, nil
  }
docs: // DownloadManifest downloads a swarm manifest