Add support to get sensor data from JSON GET