Made formatter work with arrays containing blank strings