[#0016950] Fix wrong export of arrays and groups