fix issues with mutable array of maps csv output