code: func (i IAMPolicyDocument) ToJSON() string {
  	buf, err := json.Marshal(i)
  	if err != nil {
  		panic(err)
  	}
  	return string(buf)
  }
docs: // ToJSON returns the JSON representation of the policy document or
  // panics if the object cannot be marshaled.