Set default_flow_style to False in order to get produce correct sanitised format
Update example of sanitised file