implemented parser of json string received from the mbed and the values are saved to datastore