fixing Json import/export with null lists
small improvements in persistence for parents-childrens linking
improving sub-category support