Switched categories-channels array storage to JSON.