+ // Convert the data to another format (e.g. converting from RowsOfFields to
+ // UnstructuredListData when the fields indicate an unstructured transformation
+ // is requested).
+ $structuredOutput = $this->convertData($structuredOutput, $options);
+
+ // TODO: If the $format is the default format (not selected by the user), and
+ // if `convertData` switched us to unstructured data, then select a new default
+ // format (e.g. yaml) if the selected format cannot render the converted data.