Read string and submessages length as uint32