Unescape newline tokens in generated JS
Deep merge translations

Shallow is not enough, since root elements are language codes