func (i *UserIdentity) MarshalJSON() ([]byte, error) {
    type userIdentity UserIdentity
    type userIdentityAlias struct {
        *userIdentity
        RawUserID interface{} `json:"user_id,omitempty"`