- use only yaml module (it's a json superset) - show safe_dump - show ipython_cat.s ``` data= !cat /tmp/foo/localhost import yaml data_structure = yaml.load(data.s) ansible_mounts = data_structure['ansible_facts']['ansible_mounts'] yaml_string = yaml.safe_dump(ansible_mounts, default_flow_style=0) print(yaml_string) ```