Maybe I am missing something obvious here. Are you not simply comparing json with json itself?