That you can unescape newlines with printf "%b" 'escaped\nstring':
printf "%b" 'escaped\nstring'
escaped='a\nb' printf "%b" "$escaped" # a # b