Add write-array-separator generic and methods to support separation multiple collections