Utility class for serialized data recovery (for the cases when string lengths is miscalculated, or wrong array size)