Test json in both compact (human readable) and standard format