mody from text to json