def METHOD_NAME(i):
    i.allowed_origins = ",".join(i.allowed_origins)
    i.allowed_methods = ",".join(i.allowed_methods)
    i.allowed_headers = ",".join(i.allowed_headers)
    i.exposed_headers = ",".join(i.exposed_headers)
    return i