view reply Did you try YAML block scalars or Python triple-quoted strings? These require less escaping, so they might mitigate the "structure tax".