pub fn get_task_kind(kind: &str) -> Result<String, ErrorKind>
Validates the kind name of the task and returns the formatted kind if valid
kind