pub fn parse_methods(candid: &str) -> HashMap<String, String>