fixed issue with data object reconstruction
clientwrapper write proper headers to client response