Updates variable names, and added JSON sensor data public