Add equivalent pretty print method for array