* Seperated part of the json tokenization into a helper alias. Also took care of a rare bug which appeared only when an unusually low amount of data was sent from the server at once.