pack all notes to json