After installing jq, it’s pretty straightforward

%!jq '.'