Fix ipynb to work with the new OrderedDict metadata

After introduction of OrderedDict, ipynb plugin was throwing Keyerror exceptions... so here is the fix to make it work again.
If nobody goes against it, I will merge it at the end of the day, because we have a not working plugin right now.

Cheers.