fix of arrays exporting in json export mode