added ay to get devicce json by uri