add analysis of text, return json string as resful way