If you use `--yaml`, the nested resources will not get dumped since they're not array but objects. If I do: ``` $content = $input->getOption('yaml') ? Yaml::dump(json_decode(json_encode($data), true)) : json_encode($data, JSON_PRETTY_PRINT); ``` as a quick hack, it works as expected. Is this a bug in `Yaml` or should we workaround this here?