Small bug fix where arrays of objects were not exported properly