Store kernelspec in notebook metadata on change