Only turn on json pprint for debug