verify json round-trip