handle missing output metadata in nbconvert

I think this can only happen for notebooks written by 0.13-dev, but it's causing issues with nbconvert on some notebooks.