add responseEncoder