Fix detection of properties in new JSON output.