perf tests stat+json_output: Include sanity check for topology