escape newlines, json doesnt like them
override obsolete node