Fix bug 998346: Rebuild source document JSON on translate.