I suspect the info
endpoint decides on the output format based on the request you send it, so try:
(iwr -Uri $url -ContentType application/json -Headers @{ Accept = 'application/json' }).Content
Now that Spring knows it's talking to a JSON client, it should send JSON back
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…