Added 'device' field to dict data