def METHOD_NAME(self) -> Dict[str, Any]:
    data = {
        'iss': self.issuer,
        'typ': self.type,
        'sub': self.subject,
        'aud': self.audience,
        'exp': self.expiration,
        'nbf': self.not_before,
        'iat': self.issued_at,
        'jti': self.jwt_id
    }
    if self.name:
        data['name'] = self.name
    if self.preferred_username:
        data['preferred_username'] = self.preferred_username
    if self.email:
        data['email'] = self.email
    if self.provider:
        data['provider'] = self.provider
    if self.orgs:
        data['orgs'] = self.orgs
    if self.groups:
        data['groups'] = self.groups
    if self.roles:
        data['roles'] = self.roles
    if self.scopes:
        data['scope'] = ' '.join(self.scopes)
    if self.email_verified is not None:
        data['email_verified'] = self.email_verified
    if self.picture is not None:
        data['picture'] = self.picture
    if current_app.config['CUSTOMER_VIEWS']:
        data['customers'] = self.customers
    if self.oid:
        data['oid'] = self.oid
    return data