don't assume outputs have metadata

in nbconvert

some old notebooks do not have this key defined
Merge pull request #5187 from minrk/ensure-metadata

handle missing output metadata in nbconvert