Collect resources to on $title not $name

You should be able to collect resources based on the $title and be able to use $name to define the sections in the haproxy.cfg