Parse mapnik style template strings for labels and marker icons