modify tooltip and change result data to json