fixed defect in string serialization: <= 255 not <=256!!!