Most browsers render XML nicely but the same cannot be said for Json.
Although json should be returned as a single string in formal use for performance reasons it would be useful to be able to return it more nicely formated to help with debugging and devlopment.
Fixed and on test , use pretty=true
http://search.test.musicbrainz.org/ws/2/artist/?query=fred&fmt=jsonnew&pretty=true