What do you think about casting ``$val`` elements to strings? It could be useful if you want to pass ``ArrayCollection`` of some objects to this type of column.