adapt rest transport to current EF api rest