fixes for PaletteCollections; moved JSONPersistency