fix saving translations to json