text_to_struct
