for (var param in returnedData[sensor_id][sensor]) {
sensor_path = sensor_id+"."+sensor+"."+param;
name = properties["names"][sensor_path];
for (var param in returnedData[sensor_id][sensor]) {
sensor_path = sensor_id+"."+sensor+"."+param;
name = properties["names"][sensor_path];