Added device(s) array, changed JSON format