revise property php and twig program for items array - from multidimension to single list