[alloy]Is it possible to get loki.write to push message in json format instead of protobuf

Hi there, I am trying using alloy to collect log items and send to my own restful endpoint.

loki.write “local” {
endpoint {
url = “http://localhost:6688/uba/log/push”
}
external_labels = {
job = “pimp-logs”,
}
}

So how to change the default format from protobuf to json?