changeing datapoint record to json string
changing datapoint record to JSON
changing datapoint record to JSON #3