In `WP_CLI::error_to_string()`, `json_encode()` `WP_Error` data
In `WP_CLI::error_to_string()`, `json_encode()` `WP_Error` data

Data is typically an array. Giving us a flattened array is more helpful
than indicating "Array"

wp-cli/wp-cli,wp-cli/wp-cli