Add proper units enum implementation Co-authored-by: Alan Rynne <alan@speckle.systems> Co-authored-by: Morten Engen <morten.engen@multiconsult.no>