[bugzilla] add utils method to parse kpi from string