Changed tsDataObject to better handle the server response