JsonFactory: fixed destroying translations on logout