Check if the json parser support pretty-printing and test accordingly.