code: func (fields UserProfileCustomFields) MarshalJSON() ([]byte, error) {
  	if len(fields.fields) == 0 {
  		return []byte("[]"), nil
  	}
  	return json.Marshal(fields.fields)
  }
docs: // MarshalJSON is the implementation of the json.Marshaler interface.