Add canonical json debugging