convert config, cache, events to arrays