refined s11n for local and exchange target