Added json api endpoints for per device sensor readings and sensor queues