I'm not sure if this can happen in Bokeh at this point, but `obj` is an `ndarray` so `obj.tolist()` can give nested lists and this won't work.