added json to listDevices