Changed return JSON from GET /devices