return json, with sensor id
json decorator
using json decorator