Test harness for JSON