json methods for adding a new sensor