serialize notes metadata