transform schema before sending to adapter