Add sensor_id to json output.