Problem with lost packages fixed, method stupid, but works
Changed transmission of json-data using textwriter